package com.bookcycle.panda.webfront.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * 主页控制器
 * @author Mason
 * @date 2018/3/6
 */
@Controller
public class IndexController{
    @RequestMapping("/home")
    public String home(){
        return "home";
    }

    @RequestMapping("/test")
    public String test(){
        return "test";
    }

}
